import { CommodityModel } from "./Commodity";

interface Carts {
    cid?: number;
    uid: string;
    gid: number;
    count: number;
    price: number;
    status: number;
    createTime?: Date;
    commonity?: CommodityModel;
}


export class CartsModel implements Carts {
    cid?: number | undefined;
    uid!: string;
    gid!: number;
    count!: number;
    price!: number;
    status!: number;
    createTime?: Date;
    commonity?: CommodityModel | undefined;

}